﻿@using SCMS.Resource
@model SCMS.UI.Models.ChoosePOType
@{AjaxOptions ajaxOpts = new AjaxOptions
      {
          UpdateTargetId = "PODiv",
          LoadingElementId = "loading",
          HttpMethod = "Post",
          Url = Url.Action("LoadSelectedPOType"),
          OnBegin = "CheckIfOneIsSelected"
      };}
@{
    ViewBag.Title = Resources.PurchaseOrder_ChoosePOTye_ChooseType;
}


<div class="partialViewCard">
    <div class="partialViewCardHeader"><h3>@Resources.PurchaseOrder_ChoosePOTye_ChooseType</h3></div>
    <br />
    <table align="center" style="margin-left: auto; margin-right: auto;"><tr><td align="center">
    <div style="width:auto; padding:6px; border:1px solid #A7B601; background:#fff; border-radius: 6px 6px 6px 6px; margin-left: auto; margin-right: auto;">
        @using (Ajax.BeginForm(null, null, ajaxOpts, new { @class = "form" }))
        {
            @Html.ValidationSummary(true)
            <br />
            <table cellpadding="3">
            <tr><td align="right">&nbsp; &nbsp; @Html.RadioButtonFor(model => model.IsSingleQuote, false)</td><td valign="top">@Resources.Global_String_TenderAnalysis</td></tr>
                <tr><td align="right">&nbsp; &nbsp; @Html.RadioButtonFor(model => model.IsSingleQuote, true)</td><td valign="top">@Resources.PurchaseOrder_String_SingleQuote</td></tr>                
                <tr><td></td><td><input type="submit" class="btn green" value="@Resources.Global_String_Next>>" /></td></tr>
            </table>
        }
    </div>
    </td></tr></table>
    <br />
</div>

